package com.yami.shop.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GroupNotificationMessageDTO implements Serializable {
    private String senderId;
    @NotEmpty(message = "接收群id不能为空")
    @Schema(description = "接收群id", required = true)
    private List<String> targetId;
    private String operatorUserId;
    private String operation;
    private String message;
    private String extra;
    private List<String> toUserId;
    @Schema(description = "消息类型，默认RC:GrpNtf")
    private String objectName;
    private Integer IsIncludeSender;//0代表自己不收，1代表自己收
    private String channelId;
}
